package com.tlxch.server.student.impl;

import com.tlxch.mapper.SAttitudeMapper;
import com.tlxch.pojo.SAttitude;
import com.tlxch.server.student.SAttiudeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SAttiudeServiceImpl implements SAttiudeService {

    @Autowired
    SAttitudeMapper sAttitudeMapper;

    public List<SAttitude> getbySidandType(String sid, int type) {
        return sAttitudeMapper.getbySidandType(sid, type);
    }

    @Override
    public List<SAttitude> getlist(String sname, String major, int grade) {
        return sAttitudeMapper.getlist(sname,major,grade);
    }
}
